<?php
/**
 * The development database settings. These get merged with the global settings.
 */

return array(


    /**
     * Redis config
     */
    'redis' => array(
        'default' => array(
            'hostname'  => '127.0.0.1',
            'port'      => 6379,
            'timeout'	=> null,
//            'database'  => 0,
            'password'=>'qwe123'
        )
    ),


    // mysql
	'default' => array(
		'connection'  => array(
			'dsn'        => 'mysql:host=localhost;dbname=ycp_payment',
			'username'   => 'ycp_payment',
			'password'   => 'ycp_payment',
		),
        'profiling'=>true,
        'enable_cache'   => false,
	),




    'master_db' => array(
        'type' =>'pdo',
        'table_prefix' => '',
        'connection' => array(
            'dsn' => 'mysql:host=localhost;dbname=ycp_payment',
            'charset' => 'utf8',
            'username' => 'ycp_payment',
            'password' => 'ycp_payment',
        ),
        'enable_cache'   => false,
        'profiling'=>true
    ),

    'slave_db' => array(
        'type' =>'pdo',
        'table_prefix' => '',
        'connection' => array(
            'dsn' => 'mysql:host=localhost;dbname=ycp_payment',
            'charset' => 'utf8',
            'username' => 'ycp_payment',
            'password' => 'ycp_payment',
        ),
        'enable_cache'   => false,
        'profiling'=>true
    ),
);
